package com.my.chapter7;

public class practice4 {
    public static void main(String[] args) {
        Children c1 = new Children();
        Children c2 = new Children();
    }
}

class Parent{
    Parent(){
        System.out.println("父类");
    }
}

class Children extends Parent{
    Children(){
        System.out.println("子类");
    }
}


